<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">

<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib uri="/struts-tags" prefix="s" %>
<html>    
    <body>
        <s:form namespace="/AssessmentGroupManagement" action="viewAssessmentGroups_%{assessmentGroupId}">
            <table border="1">
                <tr>
                    <th><s:text name="Team Title"/></th>
                </tr>
                <s:iterator value="assessmentGroups">
                    <tr>
                        <td><s:property value="title"/></td>
                        <td>
                            <s:url id="viewAssessmentGroups" namespace="/AssessmentGroupManagement" action="viewAssessmentGroup_%{assessmentGroupId}" />
                            <s:a href="%{viewAssessmentGroups}"><s:text name="View Details"/></s:a>                        
                        </td>
                    </tr>
                </s:iterator>
                    <tr>
                        <s:submit value="Add Assessment Group" name="submit" action="newAssessmentGroup"/>
                    </tr>

            </table>
        </s:form>
    </body>
</html>
